<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="code"></div>
<script src="__PUBLIC__/js/jquery.min.js"></script>
<script src="__PUBLIC__/js/jsbn.js"></script>
<script src="__PUBLIC__/js/prng4.js"></script>
<script src="__PUBLIC__/js/rng.js"></script>
<script src="__PUBLIC__/js/rsa.js"></script>
<script src="__PUBLIC__/js/base64.js"></script>
<script>
    var modulus,exponent;
    modulus='{$modulus}';
    exponent='{$exponent}';
    var pwd='{$mm}';
    var rsaKey = new RSAKey();
    rsaKey.setPublic(b64tohex(modulus), b64tohex(exponent));
    var enPassword = hex2b64(rsaKey.encrypt(pwd));// 加密后的密码密文
    $.ajax({
        url:"Input",
        method:'post',
        data:{
            enPassword:enPassword,
        },
    })
</script>
</body>
</html>